package com.dengjk.common.utils;

/**
 * Created by chenjing on 2017/5/3.
 * 统一返回结果
 */
public class Result<T> {
        private Integer code;
        private String msg;
        private  T data;

    public Integer getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }

    public T getData() {
        return data;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public void setData(T data) {
        this.data = data;
    }
}
